package com.example.onlinemonitoring.model;

import com.example.onlinemonitoring.model.common.sensor;
import java.util.Date;
import javax.persistence.*;

public class Universalsensor extends sensor {
    @Id
    private Long id;

    /**
     * 变电站编号
     */
    private Integer stationid;

    /**
     * 设备组（串口组）
     */
    private Integer devicegroup;

    /**
     * 设备地址
     */
    private Integer deviceaddr;

    private String addrname;

    /**
     * 监测点
     */
    private Integer pointaddr;

    /**
     * 监测点的名称
     */
    private String pointname;

    /**
     * 数据时间
     */
    private Date lastdatatime;

    private Date lasthisdatatime;

    /**
     * 数据列1
     */
    private Float lastcolumn1;

    /**
     * 数据列2
     */
    private Float lastcolumn2;

    /**
     * 数据列3
     */
    private Float lastcolumn3;

    /**
     * 数据列4
     */
    private Float lastcolumn4;

    /**
     * 数据列5
     */
    private Float lastcolumn5;

    /**
     * 数据列6
     */
    private Float lastcolumn6;

    /**
     * 报警级别。0=正常，1=预警，2=报警
     */
    private Integer lastalarmlevel;

    /**
     * 上次报警信息。如果无报警，则置为空文本。
     */
    private String lastalarmmessage;

    /**
     * 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    private Integer lastcommunicationstatus;

    private Float column1alarmvalue;

    private Float column1alarmrelievevalue;

    private Float column1warnvalue;

    private Float column1warnrelievevalue;

    private Float column2alarmvalue;

    private Float column2alarmrelievevalue;

    private Float column2warnvalue;

    private Float column2warnrelievevalue;

    private Float column3alarmvalue;

    private Float column3alarmrelievevalue;

    private Float column3warnvalue;

    private Float column3warnrelievevalue;

    private Float column4alarmvalue;

    private Float column4alarmrelievevalue;

    private Float column4warnvalue;

    private Float column4warnrelievevalue;

    private Float column5alarmvalue;

    private Float column5alarmrelievevalue;

    private Float column5warnvalue;

    private Float column5warnrelievevalue;

    private Float column6alarmvalue;

    private Float column6alarmrelievevalue;

    private Float column6warnvalue;

    private Float column6warnrelievevalue;

    private Integer lastcolumn1alarmstatus;

    private Integer lastcolumn2alarmstatus;

    private Integer lastcolumn3alarmstatus;

    private Integer lastcolumn4alarmstatus;

    private Integer lastcolumn5alarmstatus;

    private Integer lastcolumn6alarmstatus;

    /**
     * 备注信息
     */
    private String memo;

    /**
     * 是否投运
     */
    private Integer inuse;

    /**
     * 字段的显示和隐藏
     */
    private String style;

    public String getStyle61850() {
        return style61850;
    }

    public void setStyle61850(String style61850) {
        this.style61850 = style61850;
    }

    private String style61850;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取变电站编号
     *
     * @return stationid - 变电站编号
     */
    public Integer getStationid() {
        return stationid;
    }

    /**
     * 设置变电站编号
     *
     * @param stationid 变电站编号
     */
    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    /**
     * 获取设备组（串口组）
     *
     * @return devicegroup - 设备组（串口组）
     */
    public Integer getDevicegroup() {
        return devicegroup;
    }

    /**
     * 设置设备组（串口组）
     *
     * @param devicegroup 设备组（串口组）
     */
    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    /**
     * 获取设备地址
     *
     * @return deviceaddr - 设备地址
     */
    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    /**
     * 设置设备地址
     *
     * @param deviceaddr 设备地址
     */
    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    /**
     * @return addrname
     */
    public String getAddrname() {
        return addrname;
    }

    /**
     * @param addrname
     */
    public void setAddrname(String addrname) {
        this.addrname = addrname;
    }

    /**
     * 获取监测点
     *
     * @return pointaddr - 监测点
     */
    public Integer getPointaddr() {
        return pointaddr;
    }

    /**
     * 设置监测点
     *
     * @param pointaddr 监测点
     */
    public void setPointaddr(Integer pointaddr) {
        this.pointaddr = pointaddr;
    }

    /**
     * 获取监测点的名称
     *
     * @return pointname - 监测点的名称
     */
    public String getPointname() {
        return pointname;
    }

    /**
     * 设置监测点的名称
     *
     * @param pointname 监测点的名称
     */
    public void setPointname(String pointname) {
        this.pointname = pointname;
    }

    /**
     * 获取数据时间
     *
     * @return lastdatatime - 数据时间
     */
    public Date getLastdatatime() {
        return lastdatatime;
    }

    /**
     * 设置数据时间
     *
     * @param lastdatatime 数据时间
     */
    public void setLastdatatime(Date lastdatatime) {
        this.lastdatatime = lastdatatime;
    }

    /**
     * @return lasthisdatatime
     */
    public Date getLasthisdatatime() {
        return lasthisdatatime;
    }

    /**
     * @param lasthisdatatime
     */
    public void setLasthisdatatime(Date lasthisdatatime) {
        this.lasthisdatatime = lasthisdatatime;
    }

    /**
     * 获取数据列1
     *
     * @return lastcolumn1 - 数据列1
     */
    public Float getLastcolumn1() {
        return lastcolumn1;
    }

    /**
     * 设置数据列1
     *
     * @param lastcolumn1 数据列1
     */
    public void setLastcolumn1(Float lastcolumn1) {
        this.lastcolumn1 = lastcolumn1;
    }

    /**
     * 获取数据列2
     *
     * @return lastcolumn2 - 数据列2
     */
    public Float getLastcolumn2() {
        return lastcolumn2;
    }

    /**
     * 设置数据列2
     *
     * @param lastcolumn2 数据列2
     */
    public void setLastcolumn2(Float lastcolumn2) {
        this.lastcolumn2 = lastcolumn2;
    }

    /**
     * 获取数据列3
     *
     * @return lastcolumn3 - 数据列3
     */
    public Float getLastcolumn3() {
        return lastcolumn3;
    }

    /**
     * 设置数据列3
     *
     * @param lastcolumn3 数据列3
     */
    public void setLastcolumn3(Float lastcolumn3) {
        this.lastcolumn3 = lastcolumn3;
    }

    /**
     * 获取数据列4
     *
     * @return lastcolumn4 - 数据列4
     */
    public Float getLastcolumn4() {
        return lastcolumn4;
    }

    /**
     * 设置数据列4
     *
     * @param lastcolumn4 数据列4
     */
    public void setLastcolumn4(Float lastcolumn4) {
        this.lastcolumn4 = lastcolumn4;
    }

    /**
     * 获取数据列5
     *
     * @return lastcolumn5 - 数据列5
     */
    public Float getLastcolumn5() {
        return lastcolumn5;
    }

    /**
     * 设置数据列5
     *
     * @param lastcolumn5 数据列5
     */
    public void setLastcolumn5(Float lastcolumn5) {
        this.lastcolumn5 = lastcolumn5;
    }

    /**
     * 获取数据列6
     *
     * @return lastcolumn6 - 数据列6
     */
    public Float getLastcolumn6() {
        return lastcolumn6;
    }

    /**
     * 设置数据列6
     *
     * @param lastcolumn6 数据列6
     */
    public void setLastcolumn6(Float lastcolumn6) {
        this.lastcolumn6 = lastcolumn6;
    }

    /**
     * 获取报警级别。0=正常，1=预警，2=报警
     *
     * @return lastalarmlevel - 报警级别。0=正常，1=预警，2=报警
     */
    public Integer getLastalarmlevel() {
        return lastalarmlevel;
    }

    /**
     * 设置报警级别。0=正常，1=预警，2=报警
     *
     * @param lastalarmlevel 报警级别。0=正常，1=预警，2=报警
     */
    public void setLastalarmlevel(Integer lastalarmlevel) {
        this.lastalarmlevel = lastalarmlevel;
    }

    /**
     * 获取上次报警信息。如果无报警，则置为空文本。
     *
     * @return lastalarmmessage - 上次报警信息。如果无报警，则置为空文本。
     */
    public String getLastalarmmessage() {
        return lastalarmmessage;
    }

    /**
     * 设置上次报警信息。如果无报警，则置为空文本。
     *
     * @param lastalarmmessage 上次报警信息。如果无报警，则置为空文本。
     */
    public void setLastalarmmessage(String lastalarmmessage) {
        this.lastalarmmessage = lastalarmmessage;
    }

    /**
     * 获取通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     *
     * @return lastcommunicationstatus - 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    public Integer getLastcommunicationstatus() {
        return lastcommunicationstatus;
    }

    /**
     * 设置通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     *
     * @param lastcommunicationstatus 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    public void setLastcommunicationstatus(Integer lastcommunicationstatus) {
        this.lastcommunicationstatus = lastcommunicationstatus;
    }

    /**
     * @return column1alarmvalue
     */
    public Float getColumn1alarmvalue() {
        return column1alarmvalue;
    }

    /**
     * @param column1alarmvalue
     */
    public void setColumn1alarmvalue(Float column1alarmvalue) {
        this.column1alarmvalue = column1alarmvalue;
    }

    /**
     * @return column1alarmrelievevalue
     */
    public Float getColumn1alarmrelievevalue() {
        return column1alarmrelievevalue;
    }

    /**
     * @param column1alarmrelievevalue
     */
    public void setColumn1alarmrelievevalue(Float column1alarmrelievevalue) {
        this.column1alarmrelievevalue = column1alarmrelievevalue;
    }

    /**
     * @return column1warnvalue
     */
    public Float getColumn1warnvalue() {
        return column1warnvalue;
    }

    /**
     * @param column1warnvalue
     */
    public void setColumn1warnvalue(Float column1warnvalue) {
        this.column1warnvalue = column1warnvalue;
    }

    /**
     * @return column1warnrelievevalue
     */
    public Float getColumn1warnrelievevalue() {
        return column1warnrelievevalue;
    }

    /**
     * @param column1warnrelievevalue
     */
    public void setColumn1warnrelievevalue(Float column1warnrelievevalue) {
        this.column1warnrelievevalue = column1warnrelievevalue;
    }

    /**
     * @return column2alarmvalue
     */
    public Float getColumn2alarmvalue() {
        return column2alarmvalue;
    }

    /**
     * @param column2alarmvalue
     */
    public void setColumn2alarmvalue(Float column2alarmvalue) {
        this.column2alarmvalue = column2alarmvalue;
    }

    /**
     * @return column2alarmrelievevalue
     */
    public Float getColumn2alarmrelievevalue() {
        return column2alarmrelievevalue;
    }

    /**
     * @param column2alarmrelievevalue
     */
    public void setColumn2alarmrelievevalue(Float column2alarmrelievevalue) {
        this.column2alarmrelievevalue = column2alarmrelievevalue;
    }

    /**
     * @return column2warnvalue
     */
    public Float getColumn2warnvalue() {
        return column2warnvalue;
    }

    /**
     * @param column2warnvalue
     */
    public void setColumn2warnvalue(Float column2warnvalue) {
        this.column2warnvalue = column2warnvalue;
    }

    /**
     * @return column2warnrelievevalue
     */
    public Float getColumn2warnrelievevalue() {
        return column2warnrelievevalue;
    }

    /**
     * @param column2warnrelievevalue
     */
    public void setColumn2warnrelievevalue(Float column2warnrelievevalue) {
        this.column2warnrelievevalue = column2warnrelievevalue;
    }

    /**
     * @return column3alarmvalue
     */
    public Float getColumn3alarmvalue() {
        return column3alarmvalue;
    }

    /**
     * @param column3alarmvalue
     */
    public void setColumn3alarmvalue(Float column3alarmvalue) {
        this.column3alarmvalue = column3alarmvalue;
    }

    /**
     * @return column3alarmrelievevalue
     */
    public Float getColumn3alarmrelievevalue() {
        return column3alarmrelievevalue;
    }

    /**
     * @param column3alarmrelievevalue
     */
    public void setColumn3alarmrelievevalue(Float column3alarmrelievevalue) {
        this.column3alarmrelievevalue = column3alarmrelievevalue;
    }

    /**
     * @return column3warnvalue
     */
    public Float getColumn3warnvalue() {
        return column3warnvalue;
    }

    /**
     * @param column3warnvalue
     */
    public void setColumn3warnvalue(Float column3warnvalue) {
        this.column3warnvalue = column3warnvalue;
    }

    /**
     * @return column3warnrelievevalue
     */
    public Float getColumn3warnrelievevalue() {
        return column3warnrelievevalue;
    }

    /**
     * @param column3warnrelievevalue
     */
    public void setColumn3warnrelievevalue(Float column3warnrelievevalue) {
        this.column3warnrelievevalue = column3warnrelievevalue;
    }

    /**
     * @return column4alarmvalue
     */
    public Float getColumn4alarmvalue() {
        return column4alarmvalue;
    }

    /**
     * @param column4alarmvalue
     */
    public void setColumn4alarmvalue(Float column4alarmvalue) {
        this.column4alarmvalue = column4alarmvalue;
    }

    /**
     * @return column4alarmrelievevalue
     */
    public Float getColumn4alarmrelievevalue() {
        return column4alarmrelievevalue;
    }

    /**
     * @param column4alarmrelievevalue
     */
    public void setColumn4alarmrelievevalue(Float column4alarmrelievevalue) {
        this.column4alarmrelievevalue = column4alarmrelievevalue;
    }

    /**
     * @return column4warnvalue
     */
    public Float getColumn4warnvalue() {
        return column4warnvalue;
    }

    /**
     * @param column4warnvalue
     */
    public void setColumn4warnvalue(Float column4warnvalue) {
        this.column4warnvalue = column4warnvalue;
    }

    /**
     * @return column4warnrelievevalue
     */
    public Float getColumn4warnrelievevalue() {
        return column4warnrelievevalue;
    }

    /**
     * @param column4warnrelievevalue
     */
    public void setColumn4warnrelievevalue(Float column4warnrelievevalue) {
        this.column4warnrelievevalue = column4warnrelievevalue;
    }

    /**
     * @return column5alarmvalue
     */
    public Float getColumn5alarmvalue() {
        return column5alarmvalue;
    }

    /**
     * @param column5alarmvalue
     */
    public void setColumn5alarmvalue(Float column5alarmvalue) {
        this.column5alarmvalue = column5alarmvalue;
    }

    /**
     * @return column5alarmrelievevalue
     */
    public Float getColumn5alarmrelievevalue() {
        return column5alarmrelievevalue;
    }

    /**
     * @param column5alarmrelievevalue
     */
    public void setColumn5alarmrelievevalue(Float column5alarmrelievevalue) {
        this.column5alarmrelievevalue = column5alarmrelievevalue;
    }

    /**
     * @return column5warnvalue
     */
    public Float getColumn5warnvalue() {
        return column5warnvalue;
    }

    /**
     * @param column5warnvalue
     */
    public void setColumn5warnvalue(Float column5warnvalue) {
        this.column5warnvalue = column5warnvalue;
    }

    /**
     * @return column5warnrelievevalue
     */
    public Float getColumn5warnrelievevalue() {
        return column5warnrelievevalue;
    }

    /**
     * @param column5warnrelievevalue
     */
    public void setColumn5warnrelievevalue(Float column5warnrelievevalue) {
        this.column5warnrelievevalue = column5warnrelievevalue;
    }

    /**
     * @return column6alarmvalue
     */
    public Float getColumn6alarmvalue() {
        return column6alarmvalue;
    }

    /**
     * @param column6alarmvalue
     */
    public void setColumn6alarmvalue(Float column6alarmvalue) {
        this.column6alarmvalue = column6alarmvalue;
    }

    /**
     * @return column6alarmrelievevalue
     */
    public Float getColumn6alarmrelievevalue() {
        return column6alarmrelievevalue;
    }

    /**
     * @param column6alarmrelievevalue
     */
    public void setColumn6alarmrelievevalue(Float column6alarmrelievevalue) {
        this.column6alarmrelievevalue = column6alarmrelievevalue;
    }

    /**
     * @return column6warnvalue
     */
    public Float getColumn6warnvalue() {
        return column6warnvalue;
    }

    /**
     * @param column6warnvalue
     */
    public void setColumn6warnvalue(Float column6warnvalue) {
        this.column6warnvalue = column6warnvalue;
    }

    /**
     * @return column6warnrelievevalue
     */
    public Float getColumn6warnrelievevalue() {
        return column6warnrelievevalue;
    }

    /**
     * @param column6warnrelievevalue
     */
    public void setColumn6warnrelievevalue(Float column6warnrelievevalue) {
        this.column6warnrelievevalue = column6warnrelievevalue;
    }

    /**
     * @return lastcolumn1alarmstatus
     */
    public Integer getLastcolumn1alarmstatus() {
        return lastcolumn1alarmstatus;
    }

    /**
     * @param lastcolumn1alarmstatus
     */
    public void setLastcolumn1alarmstatus(Integer lastcolumn1alarmstatus) {
        this.lastcolumn1alarmstatus = lastcolumn1alarmstatus;
    }

    /**
     * @return lastcolumn2alarmstatus
     */
    public Integer getLastcolumn2alarmstatus() {
        return lastcolumn2alarmstatus;
    }

    /**
     * @param lastcolumn2alarmstatus
     */
    public void setLastcolumn2alarmstatus(Integer lastcolumn2alarmstatus) {
        this.lastcolumn2alarmstatus = lastcolumn2alarmstatus;
    }

    /**
     * @return lastcolumn3alarmstatus
     */
    public Integer getLastcolumn3alarmstatus() {
        return lastcolumn3alarmstatus;
    }

    /**
     * @param lastcolumn3alarmstatus
     */
    public void setLastcolumn3alarmstatus(Integer lastcolumn3alarmstatus) {
        this.lastcolumn3alarmstatus = lastcolumn3alarmstatus;
    }

    /**
     * @return lastcolumn4alarmstatus
     */
    public Integer getLastcolumn4alarmstatus() {
        return lastcolumn4alarmstatus;
    }

    /**
     * @param lastcolumn4alarmstatus
     */
    public void setLastcolumn4alarmstatus(Integer lastcolumn4alarmstatus) {
        this.lastcolumn4alarmstatus = lastcolumn4alarmstatus;
    }

    /**
     * @return lastcolumn5alarmstatus
     */
    public Integer getLastcolumn5alarmstatus() {
        return lastcolumn5alarmstatus;
    }

    /**
     * @param lastcolumn5alarmstatus
     */
    public void setLastcolumn5alarmstatus(Integer lastcolumn5alarmstatus) {
        this.lastcolumn5alarmstatus = lastcolumn5alarmstatus;
    }

    /**
     * @return lastcolumn6alarmstatus
     */
    public Integer getLastcolumn6alarmstatus() {
        return lastcolumn6alarmstatus;
    }

    /**
     * @param lastcolumn6alarmstatus
     */
    public void setLastcolumn6alarmstatus(Integer lastcolumn6alarmstatus) {
        this.lastcolumn6alarmstatus = lastcolumn6alarmstatus;
    }

    /**
     * 获取备注信息
     *
     * @return memo - 备注信息
     */
    public String getMemo() {
        return memo;
    }

    /**
     * 设置备注信息
     *
     * @param memo 备注信息
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 获取是否投运
     *
     * @return inuse - 是否投运
     */
    public Integer getInuse() {
        return inuse;
    }

    /**
     * 设置是否投运
     *
     * @param inuse 是否投运
     */
    public void setInuse(Integer inuse) {
        this.inuse = inuse;
    }

    /**
     * 获取字段的显示和隐藏
     *
     * @return style - 字段的显示和隐藏
     */
    public String getStyle() {
        return style;
    }

    /**
     * 设置字段的显示和隐藏
     *
     * @param style 字段的显示和隐藏
     */
    public void setStyle(String style) {
        this.style = style;
    }
}